
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-param" content="_csrf-frontend">
    <meta name="csrf-token" content="v9aPwDVHhR4XqTwZr9YBSm1qvGkjOwXjjfSjWQX4UvXVjuqZTDXJUnX4VGD7gnQdAC7oEGF4M5u7spMoXZUIpA==">
    <title>Yii Debugger</title>
    <link href="/assets/bd3bb2c/css/bootstrap.css" rel="stylesheet">
<link href="/assets/6cdfba39/main.css" rel="stylesheet">
<link href="/assets/6cdfba39/toolbar.css" rel="stylesheet"></head>
<body>
<div class="default-view">
    <div id="yii-debug-toolbar" class="yii-debug-toolbar-top">

        <div class="yii-debug-toolbar-block title">
            <a href="/debug/default/index">
                <img width="29" height="30" alt="" src="">
            </a>
        </div>

                    <div class="yii-debug-toolbar-block">
    <a href="/debug/default/view?panel=config&tag=5dc2bcf05cde5">
        <span class="label">2.0.15.1</span>
        PHP
        <span class="label">7.2.22</span>
    </a>
</div>
                    <div class="yii-debug-toolbar-block">
    <a href="/debug/default/view?panel=request&tag=5dc2bcf05cde5" title="Status code: 200 OK">Status <span class="label label-success">200</span></a>
    <a href="/debug/default/view?panel=request&tag=5dc2bcf05cde5" title="Action: api\controllers\blockchain\GoodsController::actionExchange()">Route <span class="label">blockchain/goods/exchange</span></a>
</div>                    

<div class="yii-debug-toolbar-block">
    <a href="/debug/default/view?panel=log&tag=5dc2bcf05cde5" title="Logged 142 messages, 142 errors, 142 warnings">Log
        <span class="label">142</span>
        <span class="label label-important">142</span>&nbsp;<span class="label label-warning">142</span>    </a>
</div>
                    <div class="yii-debug-toolbar-block">
    <a href="/debug/default/view?panel=profiling&tag=5dc2bcf05cde5" title="Total request processing time was 201 ms">Time <span class="label label-info">201 ms</span></a>
    <a href="/debug/default/view?panel=profiling&tag=5dc2bcf05cde5" title="Peak memory consumption">Memory <span class="label label-info">7.2 MB</span></a>
</div>
                    <div class="yii-debug-toolbar-block">
    <a href="/debug/default/view?panel=db&tag=5dc2bcf05cde5" title="Executed 93 database queries which took 108 ms.">
        DB <span class="label label-info">93</span> <span class="label">108 ms</span>
    </a>
</div>
                                                    </div>

    <div class="container main-container">
        <div class="row">
            <div class="col-lg-2 col-md-2">
                <div class="list-group">
                    <a class="list-group-item" href="/debug/default/view?tag=5dc2bcf05cde5&amp;panel=config&amp;time=20191106"><i class="glyphicon glyphicon-chevron-right"></i>Configuration</a><a class="list-group-item active" href="/debug/default/view?tag=5dc2bcf05cde5&amp;panel=request&amp;time=20191106"><i class="glyphicon glyphicon-chevron-right"></i>Request</a><a class="list-group-item" href="/debug/default/view?tag=5dc2bcf05cde5&amp;panel=log&amp;time=20191106"><i class="glyphicon glyphicon-chevron-right"></i>Logs</a><a class="list-group-item" href="/debug/default/view?tag=5dc2bcf05cde5&amp;panel=profiling&amp;time=20191106"><i class="glyphicon glyphicon-chevron-right"></i>Profiling</a><a class="list-group-item" href="/debug/default/view?tag=5dc2bcf05cde5&amp;panel=db&amp;time=20191106"><i class="glyphicon glyphicon-chevron-right"></i>Database</a><a class="list-group-item" href="/debug/default/view?tag=5dc2bcf05cde5&amp;panel=assets&amp;time=20191106"><i class="glyphicon glyphicon-chevron-right"></i>Asset Bundles</a><a class="list-group-item" href="/debug/default/view?tag=5dc2bcf05cde5&amp;panel=mail&amp;time=20191106"><i class="glyphicon glyphicon-chevron-right"></i>Mail</a>                </div>
            </div>
            <div class="col-lg-10 col-md-10">
                                <div class="callout callout-success">
                    <div id="w2" class="btn-group-sm btn-group"><a class="btn btn-default" href="/debug/default/index">All</a>
<a class="btn btn-default" href="/debug/default/view?panel=request">Latest</a>
<div class="btn-group">
<button id="w0" class="btn-default btn-sm btn dropdown-toggle" data-toggle="dropdown">Last 10 <span class="caret"></span></button>

<ul id="w1" class="dropdown-menu"></ul>
</div></div>
5dc2bcf05cde5: POST <a href="https://api2.quhepai.com/blockchain/goods/exchange?token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;user_id=77616314&amp;ch=hepai_s_test&amp;ver=2.1.9&amp;build=978&amp;api=107&amp;imei=866413035074184&amp;area_id=350200&amp;flag=1">https://api2.quhepai.com/blockchain/goods/exchange?token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;user_id=77616314&amp;ch=hepai_s_test&amp;ver=2.1.9&amp;build=978&amp;api=107&amp;imei=866413035074184&amp;area_id=350200&amp;flag=1</a> at 2019-11-06 08:30:40 pm by 110.80.36.182                </div>
                <h1>Request</h1><ul id="w3" class="nav nav-tabs"><li class="active"><a href="#w3-tab0" data-toggle="tab">Parameters</a></li>
<li><a href="#w3-tab1" data-toggle="tab">Headers</a></li>
<li><a href="#w3-tab2" data-toggle="tab">Session</a></li>
<li><a href="#w3-tab3" data-toggle="tab">$_SERVER</a></li></ul>
<div class="tab-content"><div id="w3-tab0" class="tab-pane active"><h3>Routing</h3>


    <div class="table-responsive">
        <table class="table table-condensed table-bordered table-striped table-hover request-table" style="table-layout: fixed;">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                            <tr>
                    <th>Route</th>
                    <td>&#039;blockchain/goods/exchange&#039;</td>
                </tr>
                            <tr>
                    <th>Action</th>
                    <td>&#039;api\\controllers\\blockchain\\GoodsController::actionExchange()&#039;</td>
                </tr>
                            <tr>
                    <th>Parameters</th>
                    <td>[]</td>
                </tr>
                        </tbody>
        </table>
    </div>

<h3>$_GET</h3>


    <div class="table-responsive">
        <table class="table table-condensed table-bordered table-striped table-hover request-table" style="table-layout: fixed;">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                            <tr>
                    <th>token</th>
                    <td>&#039;N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&#039;</td>
                </tr>
                            <tr>
                    <th>user_id</th>
                    <td>&#039;77616314&#039;</td>
                </tr>
                            <tr>
                    <th>ch</th>
                    <td>&#039;hepai_s_test&#039;</td>
                </tr>
                            <tr>
                    <th>ver</th>
                    <td>&#039;2.1.9&#039;</td>
                </tr>
                            <tr>
                    <th>build</th>
                    <td>&#039;978&#039;</td>
                </tr>
                            <tr>
                    <th>api</th>
                    <td>&#039;107&#039;</td>
                </tr>
                            <tr>
                    <th>imei</th>
                    <td>&#039;866413035074184&#039;</td>
                </tr>
                            <tr>
                    <th>area_id</th>
                    <td>&#039;350200&#039;</td>
                </tr>
                            <tr>
                    <th>flag</th>
                    <td>&#039;1&#039;</td>
                </tr>
                        </tbody>
        </table>
    </div>

<h3>$_POST</h3>


    <div class="table-responsive">
        <table class="table table-condensed table-bordered table-striped table-hover request-table" style="table-layout: fixed;">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                            <tr>
                    <th>mall_type</th>
                    <td>&#039;&#039;</td>
                </tr>
                            <tr>
                    <th>pay_type</th>
                    <td>&#039;&#039;</td>
                </tr>
                            <tr>
                    <th>goods_id</th>
                    <td>&#039;4334&#039;</td>
                </tr>
                            <tr>
                    <th>type</th>
                    <td>&#039;1&#039;</td>
                </tr>
                            <tr>
                    <th>amount</th>
                    <td>&#039;0&#039;</td>
                </tr>
                            <tr>
                    <th>is_selected_discount</th>
                    <td>&#039;0&#039;</td>
                </tr>
                            <tr>
                    <th>remark</th>
                    <td>&#039;&#039;</td>
                </tr>
                        </tbody>
        </table>
    </div>

<h3>$_FILES</h3>


    <p>Empty.</p>

<h3>$_COOKIE</h3>


    <p>Empty.</p>

<h3>Request Body</h3>


    <div class="table-responsive">
        <table class="table table-condensed table-bordered table-striped table-hover request-table" style="table-layout: fixed;">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                            <tr>
                    <th>Content Type</th>
                    <td>&#039;application/x-www-form-urlencoded&#039;</td>
                </tr>
                            <tr>
                    <th>Raw</th>
                    <td>&#039;mall_type=&amp;pay_type=&amp;goods_id=4334&amp;type=1&amp;amount=0&amp;is_selected_discount=0&amp;remark=&#039;</td>
                </tr>
                            <tr>
                    <th>Decoded to Params</th>
                    <td>[
    &#039;mall_type&#039; =&gt; &#039;&#039;
    &#039;pay_type&#039; =&gt; &#039;&#039;
    &#039;goods_id&#039; =&gt; &#039;4334&#039;
    &#039;type&#039; =&gt; &#039;1&#039;
    &#039;amount&#039; =&gt; &#039;0&#039;
    &#039;is_selected_discount&#039; =&gt; &#039;0&#039;
    &#039;remark&#039; =&gt; &#039;&#039;
]</td>
                </tr>
                        </tbody>
        </table>
    </div>

</div>
<div id="w3-tab1" class="tab-pane"><h3>Request Headers</h3>


    <div class="table-responsive">
        <table class="table table-condensed table-bordered table-striped table-hover request-table" style="table-layout: fixed;">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                            <tr>
                    <th>accept-language</th>
                    <td>&#039;zh-CN,en-US;q=0.9&#039;</td>
                </tr>
                            <tr>
                    <th>accept-encoding</th>
                    <td>&#039;gzip, deflate&#039;</td>
                </tr>
                            <tr>
                    <th>referer</th>
                    <td>&#039;https://api2.quhepai.com/blockchain/goods/confirm-order-page?target=_blank&amp;token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;user_id=77616314&amp;ch=hepai_s_test&amp;ver=2.1.9&amp;build=978&amp;api=107&amp;imei=866413035074184&amp;area_id=350200&amp;goods_id=4334&amp;ch=hepai_s_test&amp;imei=866413035074184&amp;timei=imeiqbtikdk3j98&amp;ver=2.1.9&amp;build=978&amp;user_id=77616314&amp;token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;area_id=350200&amp;long=118.18244189300795&amp;lat=24.487810827004587&amp;api=107&amp;build2=1911052200&amp;os=Android&amp;nonce=1573043436707&amp;sa=faG1NB%2FqG4YBYKFsMvaPNNQpUs20lgl0aUJ4uHWd6p0ivJeUe%2FeFb%2BcUW5i6H8%2FtqpwqK8fiJIvR%0AMlHgxcKxp3Xg%2BdpO%2BbUtkEAi0yfLdyUnPyF457knN7cMJ19ch41k0%2FEtn8ae5dgUwk%2FNW9%2B7vE4O%0AjKkOrtSCH9Q6FluMOcg%3D&amp;ua=UK4VSOYFI8LL3C5LH8ONENWNFIZ7G94M80862C9B2DA871972B9BFAF4E3B0A2DEFUXXGHY-1535533176&amp;logined=1&amp;rctk=EaXSFpplhMQ%2B%2FIqaua2mMs5tPexEdEdaeCOkDhDbfRhh%2FqS6ytsQVkUu6fKCD1qdSjdqva5JVZY37xrNVsGOig%3D%3D&amp;netk=ef880b321b6eed4191f30e588aa3bff9&amp;model=Mi+Note+3&amp;hpid=8a42bc6d-4087-f191-f960-123b22cceb93&amp;company=Xiaomi&#039;</td>
                </tr>
                            <tr>
                    <th>content-type</th>
                    <td>&#039;application/x-www-form-urlencoded&#039;</td>
                </tr>
                            <tr>
                    <th>user-agent</th>
                    <td>&#039;Mozilla/5.0 (Linux; Android 8.1.0; Mi Note 3 Build/OPM1.171019.019; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.99 Mobile Safari/537.36 HePai/2.1.9&#039;</td>
                </tr>
                            <tr>
                    <th>x-requested-with</th>
                    <td>&#039;XMLHttpRequest&#039;</td>
                </tr>
                            <tr>
                    <th>origin</th>
                    <td>&#039;https://api2.quhepai.com&#039;</td>
                </tr>
                            <tr>
                    <th>accept</th>
                    <td>&#039;*/*&#039;</td>
                </tr>
                            <tr>
                    <th>content-length</th>
                    <td>&#039;81&#039;</td>
                </tr>
                            <tr>
                    <th>connection</th>
                    <td>&#039;keep-alive&#039;</td>
                </tr>
                            <tr>
                    <th>host</th>
                    <td>&#039;api2.quhepai.com&#039;</td>
                </tr>
                        </tbody>
        </table>
    </div>

<h3>Response Headers</h3>


    <div class="table-responsive">
        <table class="table table-condensed table-bordered table-striped table-hover request-table" style="table-layout: fixed;">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                            <tr>
                    <th>Content-Type</th>
                    <td>&#039;application/json; charset=UTF-8&#039;</td>
                </tr>
                        </tbody>
        </table>
    </div>

</div>
<div id="w3-tab2" class="tab-pane"><h3>$_SESSION</h3>


    <p>Empty.</p>

<h3>Flashes</h3>


    <p>Empty.</p>

</div>
<div id="w3-tab3" class="tab-pane"><h3>$_SERVER</h3>


    <div class="table-responsive">
        <table class="table table-condensed table-bordered table-striped table-hover request-table" style="table-layout: fixed;">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Value</th>
                </tr>
            </thead>
            <tbody>
                            <tr>
                    <th>USER</th>
                    <td>&#039;www&#039;</td>
                </tr>
                            <tr>
                    <th>HOME</th>
                    <td>&#039;/home/www&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_ACCEPT_LANGUAGE</th>
                    <td>&#039;zh-CN,en-US;q=0.9&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_ACCEPT_ENCODING</th>
                    <td>&#039;gzip, deflate&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_REFERER</th>
                    <td>&#039;https://api2.quhepai.com/blockchain/goods/confirm-order-page?target=_blank&amp;token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;user_id=77616314&amp;ch=hepai_s_test&amp;ver=2.1.9&amp;build=978&amp;api=107&amp;imei=866413035074184&amp;area_id=350200&amp;goods_id=4334&amp;ch=hepai_s_test&amp;imei=866413035074184&amp;timei=imeiqbtikdk3j98&amp;ver=2.1.9&amp;build=978&amp;user_id=77616314&amp;token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;area_id=350200&amp;long=118.18244189300795&amp;lat=24.487810827004587&amp;api=107&amp;build2=1911052200&amp;os=Android&amp;nonce=1573043436707&amp;sa=faG1NB%2FqG4YBYKFsMvaPNNQpUs20lgl0aUJ4uHWd6p0ivJeUe%2FeFb%2BcUW5i6H8%2FtqpwqK8fiJIvR%0AMlHgxcKxp3Xg%2BdpO%2BbUtkEAi0yfLdyUnPyF457knN7cMJ19ch41k0%2FEtn8ae5dgUwk%2FNW9%2B7vE4O%0AjKkOrtSCH9Q6FluMOcg%3D&amp;ua=UK4VSOYFI8LL3C5LH8ONENWNFIZ7G94M80862C9B2DA871972B9BFAF4E3B0A2DEFUXXGHY-1535533176&amp;logined=1&amp;rctk=EaXSFpplhMQ%2B%2FIqaua2mMs5tPexEdEdaeCOkDhDbfRhh%2FqS6ytsQVkUu6fKCD1qdSjdqva5JVZY37xrNVsGOig%3D%3D&amp;netk=ef880b321b6eed4191f30e588aa3bff9&amp;model=Mi+Note+3&amp;hpid=8a42bc6d-4087-f191-f960-123b22cceb93&amp;company=Xiaomi&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_CONTENT_TYPE</th>
                    <td>&#039;application/x-www-form-urlencoded&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_USER_AGENT</th>
                    <td>&#039;Mozilla/5.0 (Linux; Android 8.1.0; Mi Note 3 Build/OPM1.171019.019; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.99 Mobile Safari/537.36 HePai/2.1.9&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_X_REQUESTED_WITH</th>
                    <td>&#039;XMLHttpRequest&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_ORIGIN</th>
                    <td>&#039;https://api2.quhepai.com&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_ACCEPT</th>
                    <td>&#039;*/*&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_CONTENT_LENGTH</th>
                    <td>&#039;81&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_CONNECTION</th>
                    <td>&#039;keep-alive&#039;</td>
                </tr>
                            <tr>
                    <th>HTTP_HOST</th>
                    <td>&#039;api2.quhepai.com&#039;</td>
                </tr>
                            <tr>
                    <th>REDIRECT_STATUS</th>
                    <td>&#039;200&#039;</td>
                </tr>
                            <tr>
                    <th>SERVER_NAME</th>
                    <td>&#039;api2.quhepai.com&#039;</td>
                </tr>
                            <tr>
                    <th>SERVER_PORT</th>
                    <td>&#039;443&#039;</td>
                </tr>
                            <tr>
                    <th>SERVER_ADDR</th>
                    <td>&#039;192.168.1.178&#039;</td>
                </tr>
                            <tr>
                    <th>REMOTE_PORT</th>
                    <td>&#039;52407&#039;</td>
                </tr>
                            <tr>
                    <th>REMOTE_ADDR</th>
                    <td>&#039;110.80.36.182&#039;</td>
                </tr>
                            <tr>
                    <th>SERVER_SOFTWARE</th>
                    <td>&#039;nginx/1.15.9&#039;</td>
                </tr>
                            <tr>
                    <th>GATEWAY_INTERFACE</th>
                    <td>&#039;CGI/1.1&#039;</td>
                </tr>
                            <tr>
                    <th>HTTPS</th>
                    <td>&#039;on&#039;</td>
                </tr>
                            <tr>
                    <th>SERVER_PROTOCOL</th>
                    <td>&#039;HTTP/1.1&#039;</td>
                </tr>
                            <tr>
                    <th>DOCUMENT_ROOT</th>
                    <td>&#039;/data0/wwwroot/hepai_server/api/web&#039;</td>
                </tr>
                            <tr>
                    <th>DOCUMENT_URI</th>
                    <td>&#039;/index.php&#039;</td>
                </tr>
                            <tr>
                    <th>REQUEST_URI</th>
                    <td>&#039;/blockchain/goods/exchange?token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;user_id=77616314&amp;ch=hepai_s_test&amp;ver=2.1.9&amp;build=978&amp;api=107&amp;imei=866413035074184&amp;area_id=350200&amp;flag=1&#039;</td>
                </tr>
                            <tr>
                    <th>SCRIPT_NAME</th>
                    <td>&#039;/index.php&#039;</td>
                </tr>
                            <tr>
                    <th>CONTENT_LENGTH</th>
                    <td>&#039;81&#039;</td>
                </tr>
                            <tr>
                    <th>CONTENT_TYPE</th>
                    <td>&#039;application/x-www-form-urlencoded&#039;</td>
                </tr>
                            <tr>
                    <th>REQUEST_METHOD</th>
                    <td>&#039;POST&#039;</td>
                </tr>
                            <tr>
                    <th>QUERY_STRING</th>
                    <td>&#039;token=N8QI22xIy9goZxLhr2KLadGDBw-dWcFU_1573007763&amp;user_id=77616314&amp;ch=hepai_s_test&amp;ver=2.1.9&amp;build=978&amp;api=107&amp;imei=866413035074184&amp;area_id=350200&amp;flag=1&#039;</td>
                </tr>
                            <tr>
                    <th>SCRIPT_FILENAME</th>
                    <td>&#039;/data0/wwwroot/hepai_server/api/web/index.php&#039;</td>
                </tr>
                            <tr>
                    <th>FCGI_ROLE</th>
                    <td>&#039;RESPONDER&#039;</td>
                </tr>
                            <tr>
                    <th>PHP_SELF</th>
                    <td>&#039;/index.php&#039;</td>
                </tr>
                            <tr>
                    <th>REQUEST_TIME_FLOAT</th>
                    <td>1573043440.1389</td>
                </tr>
                            <tr>
                    <th>REQUEST_TIME</th>
                    <td>1573043440</td>
                </tr>
                        </tbody>
        </table>
    </div>

</div></div>            </div>
        </div>
    </div>
</div>
<script src="/assets/f4018d45/jquery.js"></script>
<script src="/assets/bd3bb2c/js/bootstrap.js"></script>
<script src="/assets/63696c12/yii.js"></script>
<script>jQuery(function ($) {
jQuery('#w0').dropdown();
jQuery('#w3').tab();
});</script></body>
</html>